//
//  TNAddAccountContentTableViewCell.m
//  TravelNotes
//
//  Created by 黄锋 on 15/8/15.
//  Copyright (c) 2015年 王浩宇. All rights reserved.
//

#import "TNAddAccountContentTableViewCell.h"
#import "Macro.h"

@implementation TNAddAccountContentTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        UILabel *lable = [[UILabel alloc] initWithFrame:CGRectMake(15, 10, 80, 20)];
        lable.text = @"消费详情";
        [self.contentView addSubview:lable];
        _tf = [[UITextField alloc] initWithFrame:CGRectMake(100, 10, SCREEN_WIDTH - 120, 20)];
        _tf.textAlignment = 2;
        _tf.placeholder = @"未填写";
        [self.contentView addSubview:_tf];
        self.selectionStyle = UITableViewCellSelectionStyleNone;
    }
    return self;
}

@end
